package com.tm.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author huangp
 * @create 2023-04-05 9:58
 */
@Data
@TableName("dish_flavor")
public class DishFlavorEntity extends CreateAllEntity implements Serializable {
            
            private static final long serialVersionUID = 1L;
            private Long id;// bigint(20) NOT NULL COMMENT '主键',
            private Long dishId;// bigint(20) NOT NULL COMMENT '菜品',
            private String name;// varchar(64) COLLATE utf8_bin NOT NULL COMMENT '口味名称',
            private String value;// varchar(500) COLLATE utf8_bin DEFAULT NULL COMMENT '口味数据list',
            @TableField("is_deleted")
            @TableLogic(delval = "1",value = "0")
            private Integer isDeleted;// int(11) NOT NULL DEFAULT '0' COMMENT '是否删除',

}
